import java.util.Arrays;
import java.util.Scanner;
public class Test {
    public static void main(String[] args) {
        int[] arr=new int[100];
        for(int i=0;i<100;i++){
            arr[i]=i+1;
        }
        System.out.println(Arrays.toString(arr));
    }
    public static void Hanoi(int n,char a,char b,char c){
        if(n==1){
            System.out.println("Move 1 from " + a + " to " + c);
            return;
        }
        Hanoi(n-1,a,c,b);
        System.out.println("Move " + n + " from " + a + " to " + c);
        Hanoi(n-1,c,b,a);
    }
    public static void main4(String[] args){
        Scanner sc=new Scanner(System.in);
        int n=sc.nextInt();
        char a='A';
        char b='B';
        char c='C';
        Hanoi(n,a,b,c);
    }
    public static int fab(int n){
        if(n<=1){
            return n;
        }
        else{
            return fab(n-1)+fab(n-2);
        }
    }
    public static void main3(String[] args){
        Scanner sc=new Scanner(System.in);
        int n=sc.nextInt();
        System.out.println(fab(n));
    }
public static int Sum(int n){
    if(n<=9){
        return n;
    }else{
        return Sum(n/10)+n%10;
    }
}
public static void main2(String[] args){
    Scanner sc=new Scanner(System.in);
    int n=sc.nextInt();
    System.out.println(Sum(n));

}
    public static void print(int n){
        if(n>=9){
            print(n/10);
        }
        System.out.print(n%10+" ");
    }
    public static void main1(String[] args){
        Scanner sc=new Scanner(System.in);
        int n=sc.nextInt();
        print(n);
    }
}
